<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">  
<title>专利协同服务平台</title>
<link href="${pageContext.request.contextPath}/css/style.css" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath}/css/select.css" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath}/css/H-ui.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/select-ui.min.js"></script>
  
<script type="text/javascript">
$(document).ready(function(e) {
    $(".select").uedSelect({
		width : 345		
	});
});
</script>
<style type="text/css">
select{width:100px;font-size:13px;}
.formControls{margin-top:4px;font-size: 15px;}
.formspan{font-size: 15px;}
</style>
</head>
<body>
	<div class="place">
		<span>位置：</span>
		<ul class="placeul">
			<li><a href="#">首页</a></li>
			<li><a href="#">已结项专利</a></li>
			<li><a href="#">查看结项报告</a></li>
		</ul>
    </div>  
    <div class="formbody">    
		<div id="usual1" class="usual"> 
			<div class="formtitle">
	    		<span>结项报告</span>
	    	</div>
			<div id="tab1" class="tabson">
				<div class="panel-body"  style="margin-left:-150px;width:90%;">
					<form action="" method="post" class="form form-horizontal responsive" id="form">
						<div class="row clearfix">
							<label class="form-label col-xs-3">结项意见：</label>
							<div class="formControls col-xs-8" >
								 <span title="subject" class="formspan">${finishSummary}</span>
							</div>
						</div>
						
						<div class="row cl" >
								<label class="form-label col-xs-3">结项报告：</label>
								<c:forEach items="${fn:split(uploadFileNames,',')}" var="filename">
								<div class="formControls col-xs-8" style="font-size: 15px;"  id="downloadfilediv">
									<c:url value="/scienceExpert/downloadFile.do" var="downurl">
										<c:param name="filename" value="${filename}"></c:param>
									</c:url>
									<a href="${downurl}" style="font-size: 15px;" target="_blank">
										<span class="btn-upload form-group" style="font-size: 15px;">${fn:split(filename,'_')[2]}</span>
									</a><br/>
								</div></c:forEach>
						</div>
					</form>
				</div>
				</div>
			</div>   
		</div> 
<script type="text/javascript"> 
  function changeSynergy(synergyId){
	  $.ajax({
			type:"POST",
			dataType:"text",
			data:{"synergyId":synergyId},
			url:"${pageContext.request.contextPath}/scienceExpert/getPatentSynergyById.do",
			success:function(data){
				$("#abstractInfo").html(data);
			}
		
	 });
  }
</script>
</body>
</html>